package cn.csc.module.member.controller.admin.user.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.csc.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel(value = "管理后台 - 用户 Excel 导出 Request VO", description = "参数和 MemberUserPageReqVO 是一致的")
@Data
public class MemberUserExportReqVO {

    @ApiModelProperty(value = "状态")
    private Byte status;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "邮箱")
    private String email;

    /**
     * 用户类型(0普通，5采购商)
     */
    @ApiModelProperty(value = "用户类型(0普通，5采购商)")
    private Integer type;


    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
